QT       += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = MusicPlayer
TEMPLATE = app

CONFIG += c++11


PATH = /usr/local
INCLUDEPATH += $$PATH/include
LIBS += -L$$PATH/lib -lavcodec -lavformat -lavutil -lswresample -lswscale

INCLUDEPATH+=$$PATH/include/AL
LIBS += -L$$PATH/lib -lopenal -lalut

HEADERS += \
    $$PATH/include/AL/common/alhelpers.h

SOURCES += \
    $$PATH/include/AL/common/alhelpers.c

SOURCES += \
    OpenALEngine.cpp \
        main.cpp \
        MainWidget.cpp \
    AudioDecoder.cpp

HEADERS += \
        MainWidget.h \
    AudioDecoder.h \
    OpenALEngine.h

FORMS += \
        MainWidget.ui
